
CALL combinebuild.cmd _Tables.sql DBAObjects DBAObjects\Tables
CALL combinebuild.cmd _Views.sql DBAObjects DBAObjects\Views
CALL combinebuild.cmd _ForeignKeys.sql DBAObjects DBAObjects\ForeignKeys
CALL combinebuild.cmd _Functions.sql DBAObjects DBAObjects\Functions
CALL combinebuild.cmd _Triggers.sql DBAObjects DBAObjects\Triggers
CALL combinebuild.cmd _Sprocs.sql DBAObjects DBAObjects\Sprocs
CALL combinebuild.cmd _InitialPopulate.sql DBAObjects DBAObjects\InitialPopulate
CALL combinebuild.cmd _Full-Text-Indexes.sql DBAObjects DBAObjects\Full-Text-Indexes

COPY DBAObjects\Base\Base.sql+DBAObjects\_Tables.sql+DBAObjects\_Views.sql+DBAObjects\_ForeignKeys.sql+DBAObjects\_Functions.sql+DBAObjects\_Triggers.sql+DBAObjects\_Sprocs.sql+DBAObjects\_Full-Text-Indexes.sql+DBAObjects\_InitialPopulate.sql .\DBAObjectsDB_Build.sql

IF EXIST DBAObjects\_Tables.sql            DEL DBAObjects\_Tables.sql
IF EXIST DBAObjects\_Views.sql             DEL DBAObjects\_Views.sql
IF EXIST DBAObjects\_ForeignKeys.sql       DEL DBAObjects\_ForeignKeys.sql
IF EXIST DBAObjects\_Functions.sql         DEL DBAObjects\_Functions.sql
IF EXIST DBAObjects\_Triggers.sql          DEL DBAObjects\_Triggers.sql
IF EXIST DBAObjects\_Sprocs.sql            DEL DBAObjects\_Sprocs.sql
IF EXIST DBAObjects\_InitialPopulate.sql   DEL DBAObjects\_InitialPopulate.sql
IF EXIST DBAObjects\_Full-Text-Indexes.sql DEL DBAObjects\_Full-Text-Indexes.sql

COPY /Y .\DBAObjectsDB_Build.sql ..\..\InstallScripts\RepositorySide\Database
COPY /Y .\Create_DBAObjects_Database.sql ..\..\InstallScripts\RepositorySide\Database
